package com.dapeis.web.wx.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.google.gson.JsonElement;

/**
 * @author 作者 E-mail: hzyuanyong@126.com
 * @version 创建时间：2017年5月17日 下午4:57:29 云通讯接口类
 */
public interface ITMController {

    /**
     * 获取签名信息
     * 
     * @return
     */
    @RequestMapping(value = "/getSignature")
    public @ResponseBody JsonElement getSignature();
    
    /**
     * 添加好友
     * @param collocationId
     * @param userId
     * @return
     */
    @RequestMapping(value = "/addFriend",method = RequestMethod.POST)
    public @ResponseBody JsonElement addFriend(@RequestParam Integer collocationId,HttpServletRequest request);

}
